<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>班级列表</title>
</head>
<body>
	<h1>${faculty.name }班级列表</h1>
	<ul>
		<c:forEach items="${classes.list}" var="item">
			<li>
				班级ID： ${item.id }
				班级名称:${item.name }
				<a href="classes.do?method=updateForm&id=${item.id }">修改</a>
				<a href="classes.do?method=delete&id=${item.id }">删除</a>
			</li>
		</c:forEach>
	</ul>
	<a href="classes.do?method=addForm&facultyId=${faculty.id }">为${faculty.name }增加班级</a>
	<a href="faculty.do?method=list&schoolId=${faculty.school.id }">返回系列表</a>
</body>
</html>